<template>
	<view class="hot-list">
		<Commodity :dataList="dataList" itemW="230rpx" imgH="200rpx"></Commodity>
	</view>
</template>

<script>
	import Commodity from '../common/commodity.vue'
	export default {
		data() {
			return {
				hotList: [{
						id: 1,
						imgUrl: "/static/img/product2.jpg",
						name: "新人0元免费领免费领原生木浆超厚抽纸纸巾纸巾纸巾",
						pprice: "29.9元",
						oprice: "59.9元",
						discount: "4.99折"
					},
					{
						id: 2,
						imgUrl: "/static/img/product1.jpg",
						name: "毛绒大衣爆款2022必备不买血亏",
						pprice: "26.9元",
						oprice: "98.9元",
						discount: "3.8折"
					},
					{
						id: 3,
						imgUrl: "/static/img/product3.jpg",
						name: "新人0元免费领免费领原生木浆超厚抽纸纸巾纸巾纸巾",
						pprice: "299.9元",
						oprice: "499.9元",
						discount: "2.7折"
					},
					{
						id: 1,
						imgUrl: "/static/img/product2.jpg",
						name: "新人0元免费领免费领原生木浆超厚抽纸纸巾纸巾纸巾",
						pprice: "29.9元",
						oprice: "79.9元",
						discount: "4.99折"
					},
					{
						id: 2,
						imgUrl: "/static/img/product1.jpg",
						name: "毛绒大衣爆款2022必备不买血亏",
						pprice: "126.9元",
						oprice: "198.9元",
						discount: "3.8折"
					},
					{
						id: 3,
						imgUrl: "/static/img/product3.jpg",
						name: "新人0元免费领免费领原生木浆超厚抽纸纸巾纸巾纸巾",
						pprice: "1299.9元",
						oprice: "1599.9元",
						discount: "2.7折"
					}
				]
			}
		},
		components: {
			Commodity
		},
		methods: {},
		props: {
			dataList: Array
		}
	}
</script>

<style lang="scss" scoped>
</style>
